 <?php if( ! defined('BASEPATH') ) exit('No direct script access allowed');?>
<div class="container container-info">
    <div class="row div-header">
        <h1 class="col-md-12 h1-text">
            Gafetes
            <small>Imprimir por Lotes</small>
        </h1>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">Registro por Correo electrónico</h3>
        </div>
        <div class="panel-body">
            <?php
            echo form_open('reportes/gafetes_lote', array('name' => 'form', 'id' => 'form', 'class' => 'form-horizontal', 'cookie' => config_item('csrf_cookie_name')));
            ?>
            <div class="form-group">
                <label for="inicio" class="col-sm-2 control-label">Id de inicio</label>
                <div class="col-sm-10">
                    <input type="number" class="form-control" id="inicio" name="inicio" placeholder="Inicio">
                </div>
            </div>
            <div class="form-group">
                <label for="final" class="col-sm-2 control-label">Id final</label>
                <div class="col-sm-10">
                    <input type="number" class="form-control" id="final" name="final" placeholder="Final">
                </div>
            </div>
            <div class="form-group">
                <label for="tipo_par" class="col-sm-2 control-label">Tipo de participantes:</label>
                <div class="col-sm-10">
                    <select class="form-control" name="tipo_par[]" id="tipo_par" multiple>
                        <?php foreach ($tipos->result() as $row): ?>
                            <option value="<?php echo $row->id_tipo; ?>" <?php echo set_select('tipo_par[]', $row->id_tipo); ?> ><?php echo $row->nombre_tipo; ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="disenio" class="col-sm-2 control-label">Diseño del gafete:</label>
                <div class="col-sm-10">
                    <select class="form-control" name="disenio" id="disenio">
                        <?php foreach ($disenios->result() as $row): ?>
                            <option value="<?php echo $row->id_disenio; ?>" <?php echo set_select('disenio', $row->id_disenio, ($row->id_disenio === '1')); ?> ><?php echo $row->nombre; ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="estatus" class="col-sm-2 control-label">Estatus:</label>
                <div class="col-sm-10">
                    <select class="form-control" name="estatus" id="estatus">
                        <option value="0" <?php echo set_select('estatus', '0', TRUE); ?>>Todos</option>
                        <?php foreach ($estatus->result() as $row): ?>
                            <option value="<?php echo $row->id_estatus; ?>" <?php echo set_select('estatus', $row->id_estatus); ?> ><?php echo $row->nombre_estatus; ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="estatus" class="col-sm-2 control-label">Solo asistidos :</label>
                <div class="col-sm-10">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" name="asistencia" value="1">
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="final" class="col-sm-2 control-label">Asistieron despues de</label>
                <div class="col-sm-10">
                    <div class='input-group date' id='datetimepicker1'>
                        <input type='text' class="form-control" id="asis_despu" name="asis_despu"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="final" class="col-sm-2 control-label">Asistieron antes de</label>
                <div class="col-sm-10">
                    <div class='input-group date' id='datetimepicker2'>
                        <input type='text' class="form-control" id="asis_antes" name="asis_antes"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">Generar</button>
                </div>
            </div>
        </form>
        </div>
    </div>
</div>
    
<?php

/* End of file gafetes.php */

/* Location: /application/views/reportes/gafetes.php */ 